package cn.ht.jywrwater.module.ht.convert.waterqualitydata;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.waterqualitydata.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.waterqualitydata.WaterQualityDataDO;

/**
 * 水质数据 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterQualityDataConvert {

    WaterQualityDataConvert INSTANCE = Mappers.getMapper(WaterQualityDataConvert.class);

    WaterQualityDataDO convert(WaterQualityDataCreateReqVO bean);

    WaterQualityDataDO convert(WaterQualityDataUpdateReqVO bean);

    WaterQualityDataRespVO convert(WaterQualityDataDO bean);

    List<WaterQualityDataRespVO> convertList(List<WaterQualityDataDO> list);

    PageResult<WaterQualityDataRespVO> convertPage(PageResult<WaterQualityDataDO> page);

    List<WaterQualityDataExcelVO> convertList02(List<WaterQualityDataDO> list);

}
